package main

import (
	"writerhelper/controller"
	"writerhelper/initFunc"

	"github.com/gin-gonic/gin"
)

func main() {
	//所有初始化函数
	initFunc.Init()
	r := gin.Default()
	//服务初始化
	v1 := r.Group("/v1")
	controller.Initialization(v1)
	r.Run(":8888")
}
